import request from "@/utils/http.js";

export function uploadFile(data) {
    return request({
        method: "POST",
        url: "msg_pay/chat/file/upload",
        data,
        headers: {
            "Content-Type": "multipart/form-data"
        }
    })
}

export function uploadFiles(data) {
    return request({
        method: "POST",
        url: "msg_pay/chat/file",
        data,
        headers: {
            "Content-Type": "multipart/form-data"
        }
    })
}

